package com.freedom.admin.application.converter;

import com.freedom.admin.infrastructure.persistence.pojo.bo.DeptBO;
import com.freedom.admin.infrastructure.persistence.pojo.form.DeptForm;
import com.freedom.admin.infrastructure.persistence.pojo.vo.dept.DeptTreeVO;
import com.freedom.admin.infrastructure.persistence.pojo.vo.dept.DeptVO;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface DeptConverter {

    DeptTreeVO toTreeVO(DeptBO deptBO);

    DeptVO toVO(DeptBO deptBO);

    DeptBO toBO(DeptForm deptForm);
}
